<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8"/>
<title>Insert title here</title>
</head>
<body>
是否删除用户:
<form action="deleteyonghu" method="get">
    <input name="userid" type="hidden" th:value="${UserB.userid}" ></input>
    <button type="submit" name="delete">确认删除</button>
     <button type="submit" name="nodelete">不删除</button>
</form>
<!-- <input name="userid" type="text" th:value="${UserB.userid}"></input>
<form action="no" method="post">
    <button type="submit" name="nodelete">不删除</button>
</form> -->
</body>
</html>